package com.symria.server.po;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * CustomInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "CUSTOM_INFO")
public class CustomInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String comName;
	private Date createDate;
	private String callUser;
	private String mobile;
	private String tax;
	private String email;
	private String balanceMode;
	private String comDesc;

	// Constructors

	/** default constructor */
	public CustomInfo() {
	}

	/** full constructor */
	public CustomInfo(String comName, Date createDate, String callUser,
			String mobile, String tax, String email, String balanceMode,
			String comDesc) {
		this.comName = comName;
		this.createDate = createDate;
		this.callUser = callUser;
		this.mobile = mobile;
		this.tax = tax;
		this.email = email;
		this.balanceMode = balanceMode;
		this.comDesc = comDesc;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "COM_NAME", length = 64)
	public String getComName() {
		return this.comName;
	}

	public void setComName(String comName) {
		this.comName = comName;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_DATE", length = 0)
	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Column(name = "CALL_USER", length = 64)
	public String getCallUser() {
		return this.callUser;
	}

	public void setCallUser(String callUser) {
		this.callUser = callUser;
	}

	@Column(name = "MOBILE", length = 20)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "TAX", length = 64)
	public String getTax() {
		return this.tax;
	}

	public void setTax(String tax) {
		this.tax = tax;
	}

	@Column(name = "EMAIL", length = 64)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "BALANCE_MODE", length = 1)
	public String getBalanceMode() {
		return this.balanceMode;
	}

	public void setBalanceMode(String balanceMode) {
		this.balanceMode = balanceMode;
	}

	@Column(name = "COM_DESC", length = 128)
	public String getComDesc() {
		return this.comDesc;
	}

	public void setComDesc(String comDesc) {
		this.comDesc = comDesc;
	}

}